<%--
 *  File:    VisitPlanTempetEditFrm.jsp
 *  @Author: tendyhu
 *  Date:    2009-9-28 06:09:46

 *  Copyright (C) 2000 - 2009 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>

<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page import="com.oval.util.*" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ include file="/inc/FrmDefault.inc" %>
<%@ include file="/inc/Page_Back.inc" %>
<%
	String strModuleName = "CRM";
	String privilegeCode = "H0256";
	
	String contactid="";
    if(null!=request.getParameter("contactid")){    	
    	contactid=(String)request.getParameter("contactid");
    }
    if ((contactid==null || contactid.trim().length()==0) && session.getAttribute("contactid")!=null)
    {
    	contactid=((Integer)(session.getAttribute("contactid"))).toString();
    	session.removeAttribute("contactid");
    }
    String visitplandaytempletid="";
    if(request.getParameter("visitplandaytempletid")!=null)
    	visitplandaytempletid=	request.getParameter("visitplandaytempletid");
    if((	visitplandaytempletid==null || visitplandaytempletid.trim().length()==0)&& session.getAttribute("visitplandaytempletid")!=null)
    {
    	visitplandaytempletid= session.getAttribute("visitplandaytempletid").toString();
    	session.removeAttribute("visitplandaytempletid");
    }
    String orgid="";
    if(request.getParameter("orgid")!=null)
    	orgid=	request.getParameter("orgid");
    if((	orgid==null || orgid.trim().length()==0)&& session.getAttribute("orgid")!=null)
    {
    	orgid= session.getAttribute("orgid").toString();
    	session.removeAttribute("orgid");
    }
    String displayflag="";
    if(request.getParameter("displayflag")!=null)
    	displayflag=	request.getParameter("displayflag");
    if((	displayflag==null || displayflag.trim().length()==0)&& session.getAttribute("displayflag")!=null)
    {
    	displayflag= session.getAttribute("displayflag").toString();
    	session.removeAttribute("displayflag");
    }
    
%>
<html>
<head>
<title>VisitPlanTempetEditFrm</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<frameset rows="60
,*" frameborder="YES" border="1" framespacing="1" cols="*" bordercolor="#999999"> 
  <frame name="up" src="VisitPlanDayTempletHeader.jsp?contactid=<%=JspHelper.filterNull(contactid)%>&orgid=<%=JspHelper.filterNull(orgid)%>&visitplandaytempletid=<%=JspHelper.filterNull(visitplandaytempletid)%>&displayflag=<%=JspHelper.filterNull(displayflag)%>&<%= OvalTools.randomURL() %>" frameborder="NO" scrolling="NO">
  <frame name="down" src="VisitPlanDayTempletMain.jsp?contactid=<%=JspHelper.filterNull(contactid)%>&orgid=<%=JspHelper.filterNull(orgid)%>&visitplandaytempletid=<%=JspHelper.filterNull(visitplandaytempletid)%>&displayflag=<%=JspHelper.filterNull(displayflag)%>&<%= OvalTools.randomURL() %>" scrolling="yes" frameborder="NO" noresize >
</frameset>
<noframes> 
<body>
</body>
</noframes> 
</html>
